export interface SourceQuery {
  keyword?: string;
}

export interface SourceItem {
  id: number;
  parent_id?: number;
  title: string;
  code?: string;
  status?: number;
  sort?: number;
  create_time?: Date;
  children: SourceItem[];
}

export interface SourceVo {
  id: number;
  parent_id: number;
  title: string;
  code: string;
  status: number;
  sort: number;
  create_time: Date;
  update_time: Date;
  delete_time: Date;
}

export type SourcePageResult = PageResult<SourceVo>;

export interface SourceForm {
  id?: number;
  parent_id: number;
  title: string;
  code?: string;
  status: number;
  sort: number;
}
